﻿using Model;

namespace IBll
{
    public interface IHoomBll
    {
        //添加
        Task<int> AddHoom(Hoom hoom);
        //下拉框
        List<HoomType> GetHoomType();
        /// <summary>
        /// 显示
        /// </summary>
        /// <param name="hoomNumber">编号</param>
        /// <param name="typeId">类型</param>
        /// <param name="createDate">创建时间</param>
        /// <param name="index">页码</param>
        /// <param name="size">页容量</param>
        /// <returns></returns>
        dynamic GetHoom(string? hoomNumber, int typeId, DateTime? createDate, int index, int size);
        //删除
        Task<int> DelHoom(int id);
        //反填
        Hoom FanTian(int id);
        //修改
        Task<int> UpdaHoom(Hoom hoom);
    }
}
